package com.ruoyi.equ.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 设备到期信息对象 equ_basic
 * 
 * @author luguanqing
 * @date 2020-10-26
 */
public class EquExpire extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备id */
    private String id;


    /** 设备编号 */
    @Excel(name = "设备编号")
    private String equNum;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equName;


    /** 设备型号规格 */
    @Excel(name = "设备型号规格")
    private String equModel;

    /** 设备种类 */
    @Excel(name = "设备种类")
    private String equType;

    /** 设备管理部门 */
    @Excel(name = "设备管理部门")
    private String equManagement;

    /** 设备存放地点 */
    @Excel(name = "设备存放地点")
    private String equPlace;

    /** 设备入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "设备入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date equStoragetime;

    /** 设备制造单位 */
    @Excel(name = "设备制造单位")
    private String equManufacturer;

    /** 设备出厂日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "设备出厂日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date equDataofpro;


    /** 设备准确度 */
    @Excel(name = "设备准确度")
    private String equAccuracy;

    /** 设备检定有效期 */
    @Excel(name = "设备检定有效期")
    private String equInvalidity;


    /** 设备检定证书编号 */
    @Excel(name = "设备检定证书编号")
    private String equCertificate;


    /** 资产原值 */
    @Excel(name = "资产原值")
    private String equCost;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String state;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 到期日期 */
    private String equExpire;

    /** 设备到期状态 */
    @Excel(name = "设备到期状态")
    private String expireState;


    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setEquNum(String equNum) 
    {
        this.equNum = equNum;
    }

    public String getEquNum() 
    {
        return equNum;
    }
    public void setEquName(String equName) 
    {
        this.equName = equName;
    }

    public String getEquName() 
    {
        return equName;
    }

    public void setEquModel(String equModel) 
    {
        this.equModel = equModel;
    }

    public String getEquModel() 
    {
        return equModel;
    }
    public void setEquType(String equType) 
    {
        this.equType = equType;
    }

    public String getEquType() 
    {
        return equType;
    }
    public void setEquManagement(String equManagement) 
    {
        this.equManagement = equManagement;
    }

    public String getEquManagement() 
    {
        return equManagement;
    }
    public void setEquPlace(String equPlace) 
    {
        this.equPlace = equPlace;
    }

    public String getEquPlace() 
    {
        return equPlace;
    }
    public void setEquStoragetime(Date equStoragetime) 
    {
        this.equStoragetime = equStoragetime;
    }

    public Date getEquStoragetime() 
    {
        return equStoragetime;
    }
    public void setEquManufacturer(String equManufacturer) 
    {
        this.equManufacturer = equManufacturer;
    }

    public String getEquManufacturer() 
    {
        return equManufacturer;
    }
    public void setEquDataofpro(Date equDataofpro) 
    {
        this.equDataofpro = equDataofpro;
    }

    public Date getEquDataofpro() 
    {
        return equDataofpro;
    }

    public void setEquAccuracy(String equAccuracy) 
    {
        this.equAccuracy = equAccuracy;
    }

    public String getEquAccuracy() 
    {
        return equAccuracy;
    }
    public void setEquInvalidity(String equInvalidity) 
    {
        this.equInvalidity = equInvalidity;
    }

    public String getEquInvalidity() 
    {
        return equInvalidity;
    }

    public void setEquCertificate(String equCertificate) 
    {
        this.equCertificate = equCertificate;
    }

    public String getEquCertificate() 
    {
        return equCertificate;
    }

    public void setEquCost(String equCost) 
    {
        this.equCost = equCost;
    }

    public String getEquCost() 
    {
        return equCost;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public String getEquExpire() {
        return equExpire;
    }

    public void setEquExpire(String equExpire) {
        this.equExpire = equExpire;
    }


    public String getExpireState() {
        return expireState;
    }

    public void setExpireState(String expireState) {
        this.expireState = expireState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equNum", getEquNum())
            .append("equName", getEquName())
            .append("equModel", getEquModel())
            .append("equType", getEquType())
            .append("equManagement", getEquManagement())
            .append("equPlace", getEquPlace())
            .append("equStoragetime", getEquStoragetime())
            .append("equManufacturer", getEquManufacturer())
            .append("equDataofpro", getEquDataofpro())
            .append("equAccuracy", getEquAccuracy())
            .append("equInvalidity", getEquInvalidity())
            .append("equCertificate", getEquCertificate())
            .append("equCost", getEquCost())
            .append("state", getState())
            .append("remarks", getRemarks())
            .append("equExpire",getEquExpire())
            .append("expireState",getExpireState())
            .toString();
    }
}
